-
Home
-
Powered Cache – Caching and Optimization for WordPress – Easily Improve PageSpeed & Web Vitals Score
-
3.3.3
-
Code
-
Classes
- SimpleHtmlDom
Total Complexity |
150 |
Dependencies |
10 |
Dependents |
1 |
Total lines |
995 |
Lines of code |
503 |
Logical lines of code |
246 |
Comment lines |
323 |
Methods |
44 |
Properties |
0 |
Methods 44
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
val() |
C |
39 |
24 |
63 |
cleanHtmlWrapper() |
B |
39 |
21 |
67 |
replaceNodeWithString() |
A |
42 |
12 |
53 |
replaceChildWithString() |
A |
48 |
9 |
36 |
getElementsByTagName() |
S |
54 |
6 |
21 |
setAttribute() |
S |
61 |
6 |
12 |
changeElementName() |
S |
56 |
5 |
18 |
replaceTextWithString() |
S |
58 |
4 |
17 |
normalizeStringForComparison() |
S |
51 |
3 |
32 |
getAllAttributes() |
S |
60 |
4 |
14 |
nextNonWhitespaceSibling() |
S |
64 |
4 |
10 |
previousNonWhitespaceSibling() |
S |
64 |
4 |
10 |
getElementByTagName() |
S |
63 |
3 |
11 |
getIterator() |
S |
66 |
3 |
9 |
removeAttributes() |
S |
67 |
3 |
8 |
lastChild() |
S |
69 |
2 |
7 |
nextSibling() |
S |
69 |
2 |
7 |
firstChild() |
S |
69 |
2 |
7 |
__call() |
S |
67 |
2 |
7 |
childNodes() |
S |
68 |
2 |
7 |
previousSibling() |
S |
69 |
2 |
7 |
hasAttribute() |
S |
70 |
2 |
6 |
hasAttributes() |
S |
80 |
2 |
3 |
getAttribute() |
S |
68 |
2 |
8 |
removeAttribute() |
S |
70 |
2 |
6 |
parentNode() |
S |
80 |
1 |
3 |
innerXml() |
S |
80 |
1 |
3 |
isRemoved() |
S |
80 |
1 |
3 |
__construct() |
S |
81 |
1 |
3 |
findOneOrFalse() |
S |
80 |
1 |
3 |
getNode() |
S |
82 |
1 |
3 |
getHtmlDomParser() |
S |
80 |
1 |
3 |
getElementsById() |
S |
78 |
1 |
3 |
getElementById() |
S |
79 |
1 |
3 |
getElementByClass() |
S |
79 |
1 |
3 |
findOne() |
S |
80 |
1 |
3 |
findMultiOrFalse() |
S |
80 |
1 |
3 |
findMulti() |
S |
80 |
1 |
3 |
text() |
S |
80 |
1 |
3 |
innerHtml() |
S |
79 |
1 |
3 |
html() |
S |
80 |
1 |
3 |
getTag() |
S |
82 |
1 |
3 |
find() |
S |
79 |
1 |
3 |
delete() |
S |
81 |
1 |
3 |